package cn.zmall.search.service;

import cn.zmall.manager.dto.EsInfo;
import org.springframework.stereotype.Service;

/**
 * @Author BinBini
 * @Date 2020/11/4 11:24
 * @Version 1.0
 */
@Service
public interface SearchItemService {

    /**
     * 同步索引
     * @return
     */
    int importAllItems();

    /**
     * 获取ES基本信息
     * @return
     */
    EsInfo getEsInfo();

}
